package nc.ui.caa.backtraloan;

import nc.ui.capub.baseui.AbstractBaseUI;
import nc.ui.capub.baseui.BaseEventHandle;
import nc.ui.capub.btnaction.ButtonCreaterFactory;
import nc.ui.trade.bill.AbstractManageController;
import nc.ui.trade.bsdelegate.BusinessDelegator;

public class BacktraloanUI extends AbstractBaseUI {
	@Override
	protected BusinessDelegator createBusinessDelegator() {
		return new BusinessDelegator();
	}

	@Override
	public AbstractManageController createController() {
		return new BacktraloanController();
	}

	@Override
	public BaseEventHandle createEventHandler() {
		return new BacktraloanEventHandler(this,getUIControl());
	}

	@Override
	public Object getUserObject() {
		return null;
	}
	
	@Override
	protected void initPrivateButton() {
		addPrivateButton(ButtonCreaterFactory
				.getButtonVO(nc.ui.capub.privatebtn.IFTButton.QTIMPORT));
		addPrivateButton(ButtonCreaterFactory
				.getButtonVO(nc.ui.capub.privatebtn.IFTButton.HTIMPORT));
	}
}
